package com.polaris.live.ui.live.widget.listener

import im.zego.zegoexpress.constants.ZegoPublisherState
import org.json.JSONObject

/**
 * OnPublishFirstFrameListener
 *
 * @author Created by lucas on 2023/11/25 15:40
 * @since 1.0.0
 */
interface OnPublishFirstFrameListener {

    /**
     * 采集到第一帧
     */
    fun onPublishFirstFrame()

    fun onPublisherStateUpdate(
        streamID: String?,
        state: ZegoPublisherState?,
        errorCode: Int,
        extendedData: JSONObject?
    )

}